package com.nine.shop.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenyi
 * Create on 2019/8/17
 */

@NoArgsConstructor //无参构造器
@AllArgsConstructor//全参构造器

@Data
@TableName("db_user")
public class User {
    @TableId
    private Integer id;//用户ID
    private String userName;//用户名
    private String password;//密码
    private String email;//邮箱
    private Double balance;//余额
    private String payPsd;//付款码
    private Integer status;//用户状态：0未激活1激活
}
